import numpy as np

arange_arr = np.arange(0,10,2)
print(f"arange_arr内容: {arange_arr}")

linspace_arr = np.linspace(0,1,5)
print(f"linspace_arr内容: {linspace_arr}")

zeros_arr = np.zeros((2,3))
ones_arr = np.ones((2,3))
eyes_arr = np.eye(3)
fulls_arr = np.full((2,3), 7)

print(f"zeros_arr内容: {zeros_arr}")
print(f"ones_arr内容: {ones_arr}")
print(f"eyes_arr内容: {eyes_arr}") 
print(f"fulls_arr内容: {fulls_arr}")

rand_arr = np.random.rand(2,3)
randint_arr = np.random.randint(0, 10, (2, 3))
print(f"rand_arr内容: {rand_arr}")
print(f"randint_arr内容: {randint_arr}")